package com.ykt.vo;

import java.util.List;

/**
 * 订单视图对象
 */
public class OrderVo extends BaseVo {

	private String orderNo;// 订单编号
	private String orderPno;// 父订单编号
	private String orderType;// 订单类型
	private Integer userId;
	private String userName;
	private String receiptName;
	private String receiptPhone;
	private Integer shopId;
	private String shopName;
	private Double amount;
	private Double payAmount;
	private Double agentFee;
	private String status;
	private String serviceStatus;
	private String payTime;
    private String deliveryTime;
    private String paySerialNo;
    private String address;
    private String remarks;
    private Integer communityId;
    private String communityName;
    private String communityAddress;
    private String communityContactsName;
    private String communityContactsPhone;
    private String createdTime;
    private String updatedTime;

	private List<OrderItemVo> goods;


    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderPno() {
        return orderPno;
    }

    public void setOrderPno(String orderPno) {
        this.orderPno = orderPno;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getReceiptName() {
        return receiptName;
    }

    public void setReceiptName(String receiptName) {
        this.receiptName = receiptName;
    }

    public String getReceiptPhone() {
        return receiptPhone;
    }

    public void setReceiptPhone(String receiptPhone) {
        this.receiptPhone = receiptPhone;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public Double getAgentFee() {
        return agentFee;
    }

    public void setAgentFee(Double agentFee) {
        this.agentFee = agentFee;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getServiceStatus() {
		return serviceStatus;
	}

	public void setServiceStatus(String serviceStatus) {
		this.serviceStatus = serviceStatus;
	}

	public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getPaySerialNo() {
        return paySerialNo;
    }

    public void setPaySerialNo(String paySerialNo) {
        this.paySerialNo = paySerialNo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getCommunityAddress() {
        return communityAddress;
    }

    public void setCommunityAddress(String communityAddress) {
        this.communityAddress = communityAddress;
    }

    public String getCommunityContactsName() {
        return communityContactsName;
    }

    public void setCommunityContactsName(String communityContactsName) {
        this.communityContactsName = communityContactsName;
    }

    public String getCommunityContactsPhone() {
        return communityContactsPhone;
    }

    public void setCommunityContactsPhone(String communityContactsPhone) {
        this.communityContactsPhone = communityContactsPhone;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public List<OrderItemVo> getGoods() {
        return goods;
    }

    public void setGoods(List<OrderItemVo> goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderVo{");
        sb.append(super.toString());
        sb.append("orderNo='").append(orderNo).append('\'');
        sb.append(", orderPno='").append(orderPno).append('\'');
        sb.append(", orderType='").append(orderType).append('\'');
        sb.append(", userId=").append(userId);
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", receiptName='").append(receiptName).append('\'');
        sb.append(", receiptPhone='").append(receiptPhone).append('\'');
        sb.append(", shopId=").append(shopId);
        sb.append(", shopName='").append(shopName).append('\'');
        sb.append(", amount=").append(amount);
        sb.append(", payAmount=").append(payAmount);
        sb.append(", agentFee=").append(agentFee);
        sb.append(", status='").append(status).append('\'');
        sb.append(", serviceStatus='").append(serviceStatus).append('\'');
        sb.append(", payTime='").append(payTime).append('\'');
        sb.append(", deliveryTime='").append(deliveryTime).append('\'');
        sb.append(", paySerialNo='").append(paySerialNo).append('\'');
        sb.append(", address='").append(address).append('\'');
        sb.append(", remarks='").append(remarks).append('\'');
        sb.append(", communityId=").append(communityId);
        sb.append(", communityName='").append(communityName).append('\'');
        sb.append(", communityAddress='").append(communityAddress).append('\'');
        sb.append(", communityContactsName='").append(communityContactsName).append('\'');
        sb.append(", communityContactsPhone='").append(communityContactsPhone).append('\'');
        sb.append(", createdTime='").append(createdTime).append('\'');
        sb.append(", updatedTime='").append(updatedTime).append('\'');
        sb.append(", goods=").append(goods);
        sb.append('}');
        return sb.toString();
    }
}
